<!DOCTYPE html>
<html>
<head>
    <meta charset='UTF-8'>
    <title>Document</title>
</head>
<body>
<div id="app">
    <input type="text" v-model='msg' placeholder="请输入内容……">
    <p> {{ msg }} </p>
</div>
</body>
<script src="../vue.js"></script>
<script>
    new Vue({
        el:"#app",
        data:{
            msg:""
        }
    })
</script>
</html>